home *** CD-ROM | disk | FTP | other *** search
/ Aminet 7 / Aminet 7 - August 1995.iso / Aminet / util / cli / RandomDataFile.lha / RandomDataFile / RandomDataFile.doc < prev    next >
Encoding:
Text File  |  1995-06-14  |  1.4 KB  |  43 lines

  1.  
  2.                               RandomDataFile
  3.                              The Documentation
  4.  
  5. Explanation:
  6. This is a CLI command allowing a command string to be executed with an element in the string having .N appended to it where N is a random number between a specified min and max value.
  7.  
  8. Usage:
  9. COMMANDSTRING :- Command string to be executed.
  10. MAXVALUE      :- Maximum random value.
  11. MINVALUE      :- Minimum random value.
  12. DATAFILE      :- Substring of command string to ad .N to.(not necessary if substring is the last item in the command string.
  13.  
  14. e.g.
  15. This allows random backdrops.
  16.  
  17. RandomDataFile "SYS:prefs/wbpattern from SYS:prefs/presets/wbpattern.pre use" 10 d=wbpattern.pre
  18.  
  19. This arrangement will randomly run wbpattern with a prefs file of the form wbpattern.pre.N where N is number from 0 to 10
  20.  
  21. Why:
  22. Allows easy implementation of random backdrops for WB3.x, of couse using this method any of the WB pref files can be made random.
  23.  
  24. Author Stuff:
  25.  
  26. This program is Free-Ware.
  27.  
  28. Feel free to send me a postcard.
  29.  
  30. This program will only work on WB 2.0 and above.
  31.  
  32. This program was written on an Amiga A1200 68882 6MB.
  33.  
  34. Comments, complaints, desiderata are welcome.
  35.  
  36.              Kev Crate,
  37.              73 Prince Of Wales Rd.,
  38.              Dorchester,
  39.              Dorset.
  40.              DT1 1PS
  41.  
  42. EMAIL cs93kc@dcs.exeter.ac.uk
  43.